package com.hongkzh.www.routes;

import com.hongkzh.www.adv.controller.AdvController;
import com.hongkzh.www.adv.controller.CarouselController;
import com.hongkzh.www.adv.controller.EnterpriseAdvController;
import com.hongkzh.www.adv.controller.MediaAdvController;
import com.hongkzh.www.user.controller.UserController;
import com.jfinal.config.Routes;

/**
 * @author martins
 */
public class V1Routes extends Routes {
    @Override
    public void config() {
        add("/v1/user", UserController.class);
        add("/v1/carousel", CarouselController.class);
        add("/v1/adv", AdvController.class);
        add("/v1/enterpriseAdv", EnterpriseAdvController.class);
        add("/v1/mediaAdv", MediaAdvController.class);
    }
}
